import { request } from '@/utils'

export function getCarList(type: string) {
  return request({
    url: `/robot-archives/v1/findByRobotTypeAndCompany/${type}`,
    method: 'post',
    params: { companyName: '' }
  })
}

//协助巡检
export function startAssistCar(data: { vehicleA?: string | number; vehicleB?: string }) {
  return request({
    url: '/tcs/patrolling-assist/v1/',
    method: 'post',
    data
  })
}
